﻿using System;

namespace JinianNet.JNCms.Data
{
    public interface IDataProcess
    {
        System.Data.DataTable ExecuteTable(string sql);
        void Execute(string sql);
        int CreateKey(string key);
    }
    public partial class DataAccess
    {
        public static IDataProcess CreateDataProcess()
        {
            return (IDataProcess)CreateObject(".DataProcess");
        }
    }
}
